package com.wwj.auction.admin.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wwj
 * @since 2021-08-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Shop对象", description="")
public class Shop implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品名称")
    private String shopName;

    @ApiModelProperty(value = "商品起拍价")
    private BigDecimal shopStartPrice;

    @ApiModelProperty(value = "开拍时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "每轮加价金额")
    private BigDecimal shopAddPrice;

    @ApiModelProperty(value = "商品保证金")
    private BigDecimal earnestMoney;

    @ApiModelProperty(value = "卖家用户id")
    private Integer sellerId;

    @ApiModelProperty(value = "商品图片id")
    private Integer shopImageId;

    @ApiModelProperty(value = "商品首页展示图")
    private String shopIndexImage;

    @ApiModelProperty(value = "商品拍卖模式，0为竞拍模式，1为竞标模式")
    private Integer shopModel;

    @ApiModelProperty(value = "商品成交模式，0为普通模式，1为即时成交模式")
    private Integer commitModel;

    @ApiModelProperty(value = "商品保留价")
    private BigDecimal shopRetainPrice;

    @ApiModelProperty(value = "商品运费")
    private BigDecimal shopFreight;

    @ApiModelProperty(value = "商品小图url")
    private String shopSmallImage;

    @ApiModelProperty(value = "商品大图url")
    private String shopBigImage;

    @ApiModelProperty(value = "商品状态，0为未上架，1为拍卖中，2为已成交，-1为撤拍")
    private Integer status;

    @ApiModelProperty(value = "商品当前价格")
    private BigDecimal shopCurrentPrice;

    @ApiModelProperty(value = "店铺id")
    private Integer storeId;
}
